Chapter 17 - File Objects
This chapter describes file objects and the functions you can use to manipulate them. You use file objects, together with storage objects, to read and write data stored in the QuickDraw 3D Object Metafile format. A storage object connects a physical storage device to a file object.To use this chapter, you should already be familiar with the QuickDraw 3D class hierarchy, described in the chapter "QuickDraw 3D Objects" earlier in this book. You also need to know how to create and configure storage objects, as explained in the chapter "Storage Objects."
This chapter begins by describing file objects and their features. Then it shows how to create and manipulate file objects. The section "File Objects Reference," beginning on page 17-12 provides a complete description of file objects and the routines you can use to create and manipulate them.
Chapter Contents
- About File Objects
- Using File Objects
- Creating a File Object
- Reading Data from a File Object
- Writing Data to a File Object
- File Objects Reference
- Constants
- File Mode Flags
- Data Structures
- Unknown Object Data Structures
- File Objects Routines
- Creating File Objects
- Attaching File Objects to Storage Objects
- Accessing File Objects
- Accessing Objects Directly
- Setting Idle Methods
- Reading and Writing File Subobjects
- Reading and Writing File Data
- Managing Unknown Objects
- Managing View Hints Objects
- Application-Defined Routines
- Summary of File Objects
- C Summary
- Constants
- Unknown Object Types
- Data Types
- Basic Types
- Unknown Object Data Types
- File Objects Routines
- Creating File Objects
- Attaching File Objects to Storage Objects
- Accessing File Objects
- Accessing Objects Directly
- Setting Idle Methods
- Reading and Writing File Subobjects
- Reading and Writing File Data
- Managing Unknown Objects
- Managing View Hints Objects
- Version Macros
- Application-Defined Routines
- Errors, Warnings, and Notices